package com.aaa.ssm.service;

import com.aaa.ssm.entity.Medicine;
import com.aaa.ssm.util.Page;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface MedicineService {
    PageInfo queryByPage(Page<Medicine> page);
    List<Medicine> queryByParam(Medicine medicine);
    Medicine queryById(Integer medicineId);
    int add(Medicine medicine);
    int update(Medicine medicine);
    int delete(Integer medicineId);
}
